// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './permission' // 权限
import i18n from './util/i18n';
import 'default-passive-events'

Vue.use(ElementUI);

Vue.config.productionTip = false
if(['localhost'].includes(window.location.hostname)){
    window.domainUrl='http://172.24.29.21:2400'
}
import systemMixin from '@/mixins/system'
import store from './store'
Vue.mixin(systemMixin)
new Vue({
    el: '#app',
    i18n,
    router,
    store,
    components: {App},
    template: '<App/>'
})
